#pragma once
#include "modeleditor.h"
#include "BoxBuilder.h"

class CBoxEditor :
	public TZoomWithWheel<CModelEditor>
{
public:
	CBoxEditor(void);
	~CBoxEditor(void);
	static CString GetID(void);
	CBoxInfo* GetShapeInfo();
	virtual void Initialize(CAnyView* pView);


protected:
	virtual bool CreatePreviewShape(void);
	virtual bool CreateShapeLabel(TDF_Label& label);

private:
	CBoxInfo m_Info;
	gp_Pnt  m_ptBottomEnd;
	Standard_Real m_Length;

	gp_Pnt	m_ptTopEnd;
	gp_Pnt  m_ptEnd;
};
